package cn.cxion.chat.app.bean;

import java.io.Serializable;

public class AppointmentTimes  implements  Cloneable , Serializable {

    private static final long serialVersionUID = 1L;

    //克隆一个对象
    public AppointmentTimes clone(){
        AppointmentTimes clone = null;
        try{
            clone = (AppointmentTimes) super.clone();
        }catch(CloneNotSupportedException e){
            throw new RuntimeException(e); // won't happen
        }
        return clone;
    }

    private int year;
    private int month;
    private int day;
    private int hour;
    private int minute;
    //确认客户预约时间
    private boolean isSureTime;
    //
    private String timeText;
    //
    private String hourText;

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getHour() {
        return hour;
    }

    public void setHour(int hour) {
        this.hour = hour;
    }

    public int getMinute() {
        return minute;
    }

    public void setMinute(int minute) {
        this.minute = minute;
    }


    public boolean isSureTime() {
        return isSureTime;
    }

    public void setSureTime(boolean sureTime) {
        isSureTime = sureTime;
    }

    public String getTimeText() {
        return timeText;
    }

    public void setTimeText(String timeText) {
        this.timeText = timeText;
    }

    public String getHourText() {
        return hourText;
    }

    public void setHourText(String hourText) {
        this.hourText = hourText;
    }

    @Override
    public String toString() {
        return "AppointmentTimes{" +
                "year=" + year +
                ", month=" + month +
                ", day=" + day +
                ", hour=" + hour +
                ", minute=" + minute +
                ", isSureTime=" + isSureTime +
                ", timeText='" + timeText + '\'' +
                ", hourText='" + hourText + '\'' +
                '}';
    }
}
